import request from '@/utils/request'

export function getOrganizationInfoList() {
  return request({
    url: '/organization/getInfoList',
    method: 'get'
  })
}

export function createOrUpdate(data) {
  return request({
    url: '/organization/addOrUpdateOrgs',
    method: 'POST',
    data: data
  })
}

export function updateMemberOrgs(data) {
  return request({
    url: '/organization/updateMemberOrgs',
    method: 'POST',
    data: data
  })
}
